package com.ht.service.emp.impl;

import com.ht.util.Pager;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.ht.bean.emp.Education;
import com.ht.dao.emp.EducationMapper;
import com.ht.service.emp.EducationService;

import java.util.List;

/**
 * @author lrq
 * @date 2020/6/22 19:25
 * 
 */
@Service
public class EducationServiceImpl implements EducationService{

    @Resource
    private EducationMapper educationMapper;

    @Override
    public int deleteByPrimaryKey(Integer collegeid) {
        return educationMapper.deleteByPrimaryKey(collegeid);
    }

    @Override
    public int insert(Education record) {
        return educationMapper.insert(record);
    }

    @Override
    public int insertSelective(Education record) {
        return educationMapper.insertSelective(record);
    }

    @Override
    public Education selectByPrimaryKey(Integer collegeid) {
        return educationMapper.selectByPrimaryKey(collegeid);
    }

    @Override
    public int updateByPrimaryKeySelective(Education record) {
        return educationMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Education record) {
        return educationMapper.updateByPrimaryKey(record);
    }

    @Override
    public int selCount(Integer seid) {
        return educationMapper.selCount(seid);
    }

    @Override
    public List<Education> sellist(Pager pager, Integer seid) {
        return educationMapper.sellist(pager,seid);
    }

}
